package com.xintoucloud.pbs.dao.impl;

import java.io.Serializable;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.xintoucloud.pbs.dao.PartyBranchContributeStateDao;
import com.xintoucloud.pbs.entity.PartyBranchContributeState;

@Repository  //党支部信息投稿 审核状态DaoImpl
public class PartyBranchContributeStateDaoImpl implements PartyBranchContributeStateDao {
	@Autowired
	private SessionFactory sessionFactory;
	
	@Override
	public Serializable save(PartyBranchContributeState pbcs) {
		return sessionFactory.getCurrentSession().save(pbcs);
	}

}
